﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Xml.Serialization;
using LiveSequence.Common.Domain;

namespace LiveSequence.Suite.Domain
{
  [Serializable]
  public class LSMethodCallDiagram 
  {
    private MethodData _methodData;
    private SequenceData _sequenceData;

    private string _strTitle;

    public LSMethodCallDiagram()
    {
    }

    public LSMethodCallDiagram(string strMethodName, string strTypeName,
                              string strNameSpace, string strAssemblyName,
                       
      SequenceData sequenceData)
    {
      _methodData = new MethodData(strAssemblyName, strNameSpace, strTypeName, strMethodName);
      _sequenceData = sequenceData;

      _strTitle = strMethodName;
    }


    public SequenceData SequenceData
    {
      get { return _sequenceData; }
      set { _sequenceData = value; }
    }

    public string Title
    {
      get { return _strTitle; }
      set { _strTitle = value; }
    }

    public MethodData MethodData
    {
      get { return _methodData; }
      set { _methodData = value; }
    }

  }
}
